package com.jz.community.basecomm.bean;

/**
 * Created by Tony.Fan on 2018/10/16 11:39
 */
public class WeChatInfo {

    /**
     * code : 0
     * info : {"accessToken":"14_W8SFFyFbcgX37MT60FAnplbZPDoLKJ7S1Osx16VBpDAbMrII9FK9QAg0PYlpxgeR854waD5JxHENdaW4sY75qs46bPMtI0r8qQUSfCRIALQ","expiresIn":7200,"refreshToken":"14_uC6I8JuyYdr9ECTYz2C5n4Ottc11Y7i5NT05ZWWBQcFuOTlMTvO68dWlERWyd_xz7BKzoKlZc7yenyloVqtZlmseZQAFiyHQ6vOe5hBEnI8","openId":"oLeb_vneX_l3hXNkyxfNLTXV2TGk","scope":"snsapi_userinfo","unionId":"o3DXGv6KVX4WrBjq6SJYQcbID9vo"}
     */

    private int code;
    private InfoBean info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public InfoBean getInfo() {
        return info;
    }

    public void setInfo(InfoBean info) {
        this.info = info;
    }

    public static class InfoBean {
        /**
         * accessToken : 14_W8SFFyFbcgX37MT60FAnplbZPDoLKJ7S1Osx16VBpDAbMrII9FK9QAg0PYlpxgeR854waD5JxHENdaW4sY75qs46bPMtI0r8qQUSfCRIALQ
         * expiresIn : 7200
         * refreshToken : 14_uC6I8JuyYdr9ECTYz2C5n4Ottc11Y7i5NT05ZWWBQcFuOTlMTvO68dWlERWyd_xz7BKzoKlZc7yenyloVqtZlmseZQAFiyHQ6vOe5hBEnI8
         * openId : oLeb_vneX_l3hXNkyxfNLTXV2TGk
         * scope : snsapi_userinfo
         * unionId : o3DXGv6KVX4WrBjq6SJYQcbID9vo
         */

        private String accessToken;
        private int expiresIn;
        private String refreshToken;
        private String openId;
        private String scope;
        private String unionId;

        public String getAccessToken() {
            return accessToken;
        }

        public void setAccessToken(String accessToken) {
            this.accessToken = accessToken;
        }

        public int getExpiresIn() {
            return expiresIn;
        }

        public void setExpiresIn(int expiresIn) {
            this.expiresIn = expiresIn;
        }

        public String getRefreshToken() {
            return refreshToken;
        }

        public void setRefreshToken(String refreshToken) {
            this.refreshToken = refreshToken;
        }

        public String getOpenId() {
            return openId;
        }

        public void setOpenId(String openId) {
            this.openId = openId;
        }

        public String getScope() {
            return scope;
        }

        public void setScope(String scope) {
            this.scope = scope;
        }

        public String getUnionId() {
            return unionId;
        }

        public void setUnionId(String unionId) {
            this.unionId = unionId;
        }
    }
}
